package com.team.arms.bingyiInfo.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.team.arms.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author WY
 * @since 2022-05-04
 */
@TableName("b_bingyi_info")
@ApiModel(value = "兵役信息展示对象", description = "VO")
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class BingyiInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("兵役信息编号")
    @ExcelProperty("兵役信息编号")
    private String bingyiInfoId;

    @ApiModelProperty("姓名")
    @ExcelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    @ExcelProperty("姓名")
    private String sex;

    @ApiModelProperty("身份证号")
    @ExcelProperty("身份证号")
    private String idCard;

    @ExcelProperty("曾用名")
    @ApiModelProperty("曾用名")
    private String beforeName;

    @ExcelProperty("出生日期")
    @ApiModelProperty("出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = JsonFormat.Shape.STRING)
    private LocalDateTime birthday;

    @ExcelProperty("年龄")
    @ApiModelProperty("年龄")
    private String age;

    @ExcelProperty("民族")
    @ApiModelProperty("民族")
    private String nation;

    @ExcelProperty("是否兵役登记")
    @ApiModelProperty("是否兵役登记 0 是 1否")
    private String isRegister;

    @ExcelProperty("政治面貌")
    @ApiModelProperty("政治面貌")
    private String poliStatus;

    @ExcelProperty("学历")
    @ApiModelProperty("学历")
    private String education;

    @ExcelProperty("婚姻状况")
    @ApiModelProperty("婚姻状况")
    private String marriageCondition;

//    @ApiModelProperty("手机号")
//    private String phone;



}
